//电脑有品牌，价格，颜色，屏幕大小等属性，定义并测试电脑对象，并输出
package ZUOYE0428;

public class Computer {
	String brand;
	int price;
	String colour;
	int scareen;

	public void show() {
		System.out.println("电脑的品牌：" + brand);
		System.out.println("价格：" + price + "元");
		System.out.println("颜色：" + colour);
		System.out.println("屏幕大小：" + scareen + "寸");

	}

}
